home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_01_02 / 1n02031a < prev    next >
Text File  |  1990-07-08  |  492b  |  12 lines

  1.  
  2.    to handle buttonDown location 
  3.      local lineCharPair, lineClicked           -- local variables 
  4.         set lineCharPair to textFromPoint(location) of target 
  5.         set lineClicked to item 1 of lineCharPair 
  6.         put textLine lineClicked of the text of the target into\ 
  7.                                the text of recordField "Engineer" 
  8.         hide group EngineerPickListGrp of this background 
  9.         show group "EngineerTop" of this background 
  10.    end buttonDown 
  11.  
  12.